package com.tengju.data.domain.model.user;

import com.tengju.user.domain.model.club.ClubId;
import com.tengju.user.domain.model.user.UserIdCode;
import lombok.Value;
import lombok.experimental.NonFinal;

import java.time.LocalDateTime;

@Value
public class UserDetail {

    static final String INTERNAL_AREA_CODE = "+86";

    UserIdCode idCode;

    String areaCode;

    String mobile;

    StarLevelEnum starLevel;

    @NonFinal
    String name;

    @NonFinal
    String nickname;

    LocalDateTime createTime;

    UserIdCode parentIdCode;

    StarLevelEnum parentStarLevel;

    UserIdCode cityIdCode;
    UserIdCode belongEc;

    UserIdCode belongSec;

    UserIdCode belongEec;

    UserIdCode genSecIdCode;


    ClubId belongClubId;

    @NonFinal
    String wholePhoneNumber;

    LocalDateTime upgradeBlackCardTime;


    UserIdCode genOperatorIdCode;

}
